package org.bw.bookstore.book.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.bw.bookstore.common.entity.TbOrderRecord;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Program:wisdom_bookstore
 * @Description:订单mapper
 * @Author:钟乐
 * @Create:2020-10-22 16:04
 **/

public interface OrderRecordMapper extends BaseMapper<TbOrderRecord> {

    /**
    　　* TODO  findOneOrderRecordOnline--查询用户自己的订单
    　　* @Param [userInfoCode]
    　　* @return java.util.List<com.bw.common.entity.TbOrderRecord>
    　　* @author 钟乐
    　　* @date 2020/10/23 18:36 
    　　*/
    List<TbOrderRecord> findOneOrderRecordOnline(@Param("userInfoCode") String userInfoCode);


}
